package com.ygs.secs.service.impl;

import com.ygs.secs.model.Enterprise;
import jdk.nashorn.internal.runtime.regexp.JoniRegExp;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.ygs.secs.mapper.EnterpriseJobMapper;
import com.ygs.secs.model.EnterpriseJob;
import com.ygs.secs.service.EnterpriseJobService;

@Service
public class EnterpriseJobServiceImpl implements EnterpriseJobService {

    @Resource
    private EnterpriseJobMapper enterpriseJobMapper;

    @Override
    public int deleteByPrimaryKey(String jobid) {
        return enterpriseJobMapper.deleteByPrimaryKey(jobid);
    }

    @Override
    public int insert(EnterpriseJob record) {
        return enterpriseJobMapper.insert(record);
    }

    @Override
    public int insertSelective(EnterpriseJob record) {
        return enterpriseJobMapper.insertSelective(record);
    }

    @Override
    public EnterpriseJob selectByPrimaryKey(String jobid) {
        return enterpriseJobMapper.selectByPrimaryKey(jobid);
    }

    @Override
    public int updateByPrimaryKeySelective(EnterpriseJob record) {
        return enterpriseJobMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(EnterpriseJob record) {
        return enterpriseJobMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<EnterpriseJob> list) {
        return enterpriseJobMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<EnterpriseJob> list) {
        return enterpriseJobMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<EnterpriseJob> list) {
        return enterpriseJobMapper.batchInsert(list);
    }

    @Override
    public int getjobCntbypriseId(int priseId) {
        return 0;
    }

    @Override
    public List<EnterpriseJob> getjobList() {
        return enterpriseJobMapper.getjobList();
    }

    @Override
    public List<EnterpriseJob> getjobListbypriseId(String enterpriseid) {
        return enterpriseJobMapper.getjobListbypriseId(enterpriseid);
    }

    @Override
    public List<EnterpriseJob> getjobListbyjobname(String enterpriseid, String jobname) {
        return enterpriseJobMapper.getjobListbyjobname(enterpriseid, jobname);
    }

    @Override
    public EnterpriseJob getjobdetailbyid(String jobid) {
        return enterpriseJobMapper.getjobdetailbyid(jobid);
    }

    @Override
    public List<EnterpriseJob> getRecommendjoblist(Integer postionnum) {
        return enterpriseJobMapper.getRecommendjoblist(postionnum);
    }

    @Override
    public List<EnterpriseJob> getsimilarPositionlist(String jobtype) {
        return enterpriseJobMapper.getsimilarPositionlist(jobtype);
    }

    @Override
    public List<EnterpriseJob> getjoblistbycommpanyname(String kw) {
        return enterpriseJobMapper.getjoblistbycommpanyname(kw);
    }

    @Override
    public List<EnterpriseJob> getjobListbyjobwithauthinfo(String jobname, String qz1, String qz2) {
        return enterpriseJobMapper.getjobListbyjobwithauthinfo(jobname, qz1, qz2);
    }
}


